<?php
//活动表

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Casts\Attribute;

class KlineTypeModel extends Model
{
    use HasFactory;

    protected $table = 'kline_type';

    public function kline ()
    {
        return $this->hasMany(KlineModel::class, 'kline_type_id', 'id');
    }
}
